import { createRouter, createWebHistory } from 'vue-router'
import drawFigure from '../views/drawFigure.vue' // 绘制图形
import texturesAnimation from '../views/texturesAnimation.vue' // 纹理和动画
import eventInteraction from '../views/eventInteraction.vue' // 事件和交互
import resourceManagement from '../views/resourceManagement.vue' // 资源管理
import textMask from '../views/textMask.vue' // 文字与遮罩
import filterEffect from '../views/filterEffect.vue' // 滤镜特效
import waterDrop from '../views/waterDrop.vue' // 水滴特效主页
import graphicEditor from '../views/graphicEditor/index.vue' // 图形编辑器

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'drawFigure',
      component: drawFigure
    }
  ]
})

export default router
